package com.gxa.pingan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @version fi
 * @Author lonny
 * @Date 2021/10/26 10:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("评价管理")
public class Evaluate implements Serializable {
    @ApiModelProperty(name = "id", value = "id", notes = "评价序号,系统自增", dataType = "Long")
    private Long id;
    @ApiModelProperty(name = "orderId", value = "orderId", notes = "评价ID", dataType = "Long")
    private String orderNum;
    @ApiModelProperty(name = "userName", value = "userName", notes = "用户姓名", dataType = "String")
    private String userName;
    @ApiModelProperty(name = "driverName", value = "driverName", notes = "司机姓名", dataType = "String")
    private String driverName;
    @ApiModelProperty(name = "userPhone", value = "userPhone", notes = "用户电话", dataType = "String")
    private String userPhone;
    @ApiModelProperty(name = "startCount", value = "startCount", notes = "评价星数", dataType = "Integer")
    private Integer startCount;
    @ApiModelProperty(name = "remark", value = "remark", notes = "备注", dataType = "String")
    private String remark;
    @ApiModelProperty(name = "appraiseTime", value = "appraiseTime", notes = "评价时间", dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp appraiseTime;
    @ApiModelProperty(name = "isUsed", value = "isUsed", notes = "是否可见,true可见,false不可开见", dataType = "Boolean")
    private Boolean isUsed;
    @ApiModelProperty(name = "appraise", value = "apprise", notes = "评价详情", dataType = "String")
    private String appraise;

}
